package zhou.contest05;

public class Q1 {
	
	private String day;
	private String name;
	private String food;
	private String assess;
	
	
	public String getDay() {
		return day;
	}
	public void setDay(String day) {
		this.day = day;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFood() {
		return food;
	}
	public void setFood(String food) {
		this.food = food;
	}
	public String getAssess() {
		return assess;
	}
	public void setAssess(String assess) {
		this.assess = assess;
	}
	
	void eat(){
		System.out.println(day+name+"去吃了，"+food+"，他评价"+assess);
	}
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Q1 a=new Q1();
		a.setDay("今天");
		a.setName("小明");
		a.setFood("火锅");
		a.setAssess("真好吃");
		a.eat();
		
	
	
	}
}
